<!DOCTYPE html>
<head></head>
<body>
<style>
    .timeout{
        width:100px;margin:200px auto 0;
    }
    .timeout .tips{
        margin:0 0 0 12px;
    }

    .reTimeout{
        width:200px;margin:200px auto 0;
    }
    .reTimeout .tips{
        margin:0 0 0 30px;
    }

</style>

<div class="timeout" id="loadingerr">
    <div class="tips" id="tips">载入超时!</div>
    <div style="margin: 10px 0 0 0;"><a id="retryBtn" href="<%=url%>">重试</a>&nbsp;&nbsp;<a href="<%=actionUrl%>">回首页</a></div>
</div>

<script>
    //top.setKeyword('<%-keyword%>');

    var autoRetryUrl = '<%-autoRetryUrl%>';
    var retryTimes = '<%-retryTimes%>';
    if(retryTimes<=3){
        document.getElementById("loadingerr").className = "reTimeout";
        document.getElementById("retryBtn").innerHTML = "第"+retryTimes+"次自动重试";
        document.getElementById("tips").innerHTML = "自动重试中……";
        window.location.href = autoRetryUrl;
    }
</script>
<%-tongji%>
</body>
</html>
